package com.recharge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.recharge.common.result.ResultDO;
import com.recharge.core.entity.RefundEntity;
import com.recharge.domain.query.RefundQueryDO;
import com.recharge.domain.vo.RefundDO;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 退款单 服务类
 * </p>
 *
 * @author reagan
 * @since 2020-08-19
 */
public interface RefundService extends IService<RefundEntity> {

//    /**
//     * 添加退款
//     * @param domain
//     * @return
//     */
//    ResultDO add(RefundDO domain);

    /**
     * 退款列表
     * @param domain
     * @return
     */
    ResultDO find(RefundQueryDO domain);

    /**
     * 添加退款
     * @param domain
     * @return
     */
    ResultDO submit(RefundDO domain);

    /**
     * 查询退款列表
     * @param domain
     * @return
     */
    ResultDO findInfo(RefundQueryDO domain);
}
